package drds.data_propagate.parse.binlog_event_position_manager;

import drds.data_propagate.binlog_event.secondary.position.BinLogEventPosition;
import drds.data_propagate.common.LifeCycle;
import drds.data_propagate.parse.exception.ParseException;


public interface BinLogEventPositionManager extends LifeCycle {
    void persistBinLogEventPosition(String taskId, BinLogEventPosition binLogEventPosition) throws ParseException;

    BinLogEventPosition getLatestBinLogEventPosition(String taskId);


}
